package com.csu.service;

import com.csu.domain.Product;
import com.csu.persistence.ProductDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductService {
    @Autowired
    private ProductDao productDao;

//    public List<Product> queryProductByCategory(String category){
//        return productDao.queryProductByCategory(category);
//    }
//
//    public boolean addProduct(Product product)
//    {return productDao.addProduct(product);}
}
